public class user {
    List<User> selectUser_Role();

    @Select({"<script>        select * from user\n" +
            "            <where>\n" +
            "                <if test=\"uid!=0\"> and uid=#{uid}</if>\n" +
            "                <if test=\"username!=null\"> and username=#{username}</if>\n" +
            "                <if test=\"password!=null\"> and password=#{password}</if>\n" +
            "                <if test=\"phone!=null\"> and phone=#{phone}</if>\n" +
            "            </where></script> "})
    List<User> selectByUser(User user);



}
}
